<?php
 
namespace models\entities;
use classes; 
/**
 * @Entity(repositoryClass="models\repositories\BerkasTrainingRepository")
 * @Table(name="berkas_lkpm")
 */
class BerkasLkpm {
 
/**
 *  @Id
 *  @OneToOne(targetEntity="Berkas", cascade={"persist"})
 *  @JoinColumn(name="id", referencedColumnName="id")
 */
	protected $id;
	
/**
 * 
 * @ManyToOne(targetEntity="JenisKegiatan", fetch="EAGER")
 * @JoinColumn(name="jenis_kegiatan_id", referencedColumnName="id")
 */
	protected $jenisKegiatan;	
 
/**
 * 
 * @ManyToOne(targetEntity="TopikKegiatan", fetch="EAGER")
 * @JoinColumn(name="topik_kegiatan_id", referencedColumnName="id")
 */
	protected $topikKegiatan;	
  
/**
 * @Column(name="jumlah_pria", type="integer")
 */
	protected $jumlahPria;

/**
 * @Column(name="jumlah_wanita", type="integer")
 */
	protected $jumlahWanita;
	
/**
 * @Column(name="jumlah_keseluruhan", type="integer")
 */
	protected $jumlahTotal;	

/**
 * 
 * 
 * @Column(name="from_date", type="datetime")
 */
	protected $fromDate;
	
/**
 * 
 * 
 * @Column(name="to_date", type="datetime")
 */
	protected $toDate;			

	public function setId($id)
	{
	    $this->id = $id;
	}
 
	public function getId()
	{
	    return $this->id;
	}

	public function setJenisKegiatan($jenisKegiatan){
		$this->jenisKegiatan = $jenisKegiatan;
	}
	
	public function getJenisKegiatan(){
		return $this->jenisKegiatan;
	}
	
	public function setTopikKegiatan($topikKegiatan){
		$this->topikKegiatan = $topikKegiatan;
	}
	
	public function getTopikKegiatan(){
		return $this->topikKegiatan;
	}
	
	public function setJumlahWanita($jumlahWanita){
		$this->jumlahWanita = $jumlahWanita;
	}
	
	public function getJumlahWanita(){
		return $this->jumlahWanita;
	}
	
	public function setJumlahPria($p){
		$this->jumlahPria = $p;
	}
	
	public function getJumlahPria(){
		return $this->jumlahPria;
	}
	
	public function setJumlahTotal($w){
		$this->jumlahTotal = $w;
	}
	
	public function getJumlahTotal(){
		return $this->jumlahTotal;
	}

	public function setFromDate($date){
		$this->fromDate = $date;
	}
	
	public function getFromDate(){
		return $this->fromDate;
	}
	
	public function setToDate($date){
		$this->toDate = $date;
	}
	
	public function getToDate(){
		return $this->toDate;
	}	
}